/************************************************************************
 * <br>
 * <ul>
 * <li>版权所有：唐山弘川科技有限公司 2009－2020</li>
 * <li>创建日期：2009-8-12</li>
 * <li>初始作者：刘川</li>
 * </ul>
 * <ul>
 * <b>修订历史</b>
 * <li>1、</li>
 * </ul>
 ***********************************************************************/
package com.hy.enterprise.framework.persistence.entity ;

import javax.persistence.Column;
/*import javax.persistence.MappedSuperclass;

import org.hibernate.annotations.Index;

import com.hy.enterprise.framework.jpa.core.entity.AbstractPersistentEntity;
import com.hy.enterprise.framework.persistence.api.HierarchyPersistable;

*//**
 * <ul>
 * <li>设计作者：刘川</li>
 * <li>设计日期：2009-8-12</li>
 * <li>设计时间：下午06:14:41</li>
 * <li>设计目的：层次型持久模型抽象实现类</li>
 * </ul>
 * <ul>
 * <b>修订历史</b>
 * <li>1、</li>
 * </ul>
 *//*
@ MappedSuperclass
public class AbstractHierarchyPersistentEntity extends AbstractPersistentEntity
        implements HierarchyPersistable
{
	*//**
	 * 树型结构左值最小值
	 *//*
	public static final Integer	MIN_LEFT_VALUE	 =
	                                               new Integer (
	                                                             0 ) ;
	private static final long	serialVersionUID	=
	                                                  7864382625952508384L ;
	*//**
	 * 层次结构节点左值
	 *//*
	private Integer	            leftValue ;

	*//**
	 * 层次结构节点右值
	 *//*
	private Integer	            rightValue ;

	*//**
	 * 构造函数
	 *//*
	public AbstractHierarchyPersistentEntity ( )
	{
		super ( ) ;
	}

	*//**
	 * 构造函数
	 * 
	 * @param identifier
	 *//*
	public AbstractHierarchyPersistentEntity (
	                                           String identifier )
	{
		super (
		        identifier ) ;
	}

	*//**
	 * @see com.hy.enterprise.framework.persistence.api.HierarchyPersistable#getLeftValue()
	 *//*
	@ Column ( name = "leftValue" , unique = true , nullable = false , length = 8 )
	@ Index ( name = "leftValueIndex" )
	@ Override
	public Integer getLeftValue ( )
	{
		return this.leftValue ;
	}

	*//**
	 * @see com.hy.enterprise.framework.persistence.api.HierarchyPersistable#getRightValue()
	 *//*
	@ Column ( name = "rightValue" , unique = true , nullable = false , length = 8 )
	@ Override
	public Integer getRightValue ( )
	{
		return this.rightValue ;
	}

	*//**
	 * @see com.hy.enterprise.framework.persistence.api.HierarchyPersistable#setLeftValue(java.lang.Integer)
	 *//*
	@ Override
	public void setLeftValue (
	                           Integer leftValue )
	{
		this.leftValue =
		                 leftValue ;
	}

	*//**
	 * @see com.hy.enterprise.framework.persistence.api.HierarchyPersistable#setRightValue(java.lang.Integer)
	 *//*
	@ Override
	public void setRightValue (
	                            Integer rightValue )
	{
		this.rightValue =
		                  rightValue ;
	}
}*/
